JavaScript

listObj.deleteRow Method

Syntax

listObj.deleteRow([options]);

Arguments

optionsJSON Object

A JSON object with the properties listed below.

promptboolean

true/false - prompt for confirmation. Default is true.

Description

Marks the current row in the List as deleted. The row is not physically removed from the List until the data are synchronized. If the current row is a new record, then the row is immediately removed from the List.

Example

var listObj = {dialog.object}.getControl("LIST1");

if (listObj) {
    var opts = {};
    opts.prompt = true;

    listObj.deleteRow(opts);
}

Limitations

List Control with Detail View Part

See Also